|
This page last changed on Dec 11, 2005 by vidya.
The excerpt macro is used to mark a part of a page's content as its summary. By itself, the excerpt macro does not change the display of a page. However, defining an excerpt enables other macros such as 'excerpt-include' and 'blog-posts' macros to display a summary of a page's content.
You can only have one excerpt for a page.
Excerpt Macro
Optionally,
Hide the contents of the excerpt
RELATED TOPICS
Excerpt Include Macro
Working with Macros
Take me back to Confluence 2.0 Home
|
Please add support for embedding other macros inside the excerpt macro...for example:
This is a test for {include:Test Page}

Posted by btknorr@gmail.com at Mar 09, 2006 13:04
|
|
The example didn't show up correctly...here it is:
{excerpt}This is a test for{include:Test Page}{excerpt}

Posted by btknorr@gmail.com at Mar 09, 2006 13:05
|
|
No, please don't - having macros rendering inside excerpts would be a nightmare - all kinds of macros now display excerpts and to have things randomly breaking, not to mention the obvious security risks of being able to inject macros in to unexpected places, would be quite painful.

Posted by gfraser at Mar 09, 2006 13:07
|
|
Actually macros rending inside excerpts is already supported when using the excerpt-include macro...it doesn't work with the contentbylabel macro...so this is really where I would like to see the additional support.

Posted by btknorr@gmail.com at Mar 09, 2006 13:10
|
|
Note that you could use the Metadata plugin to do what you are after...

Posted by gfraser at Mar 09, 2006 13:11
|
|
The {excerpt-include} macro is manually added to pages so you get to see the results and have control over it. If macros started rendering inside "lists" that show excerpts, it would be a very huge nightmare for the vast majority of our clients.

Posted by gfraser at Mar 09, 2006 13:12
|
|
I understand...that makes sense...I will try out the metadata macro...thanks!

Posted by btknorr@gmail.com at Mar 09, 2006 13:17
|
|
The metadata plugin is awesome...this is definitely the direction to go...I would love to see this plugin become standard in Confluence....thanks.

Posted by btknorr@gmail.com at Mar 10, 2006 10:40
|
|
Fear not - we're working on a solution to everyone's plugin woes Will be released to CONFEXT sometime today we hope... Stay tuned...
Guy
http://adaptavist.com

Posted by gfraser at Mar 10, 2006 10:43
|
|